package org.wlw.rpg;

public class TestRpg {
    public static void main(String[] args) {
        Player player = new ArrowMan("狄仁杰");
        Enemy e1 = new Zombie("弱小的僵尸");
        Enemy e2 = new Zombie("缓慢的僵尸");
        Enemy e3 = new Vampire("德古拉");
        Enemy e4 = new Vampire("德古拉兄弟");

        Enemy e5 = new Monster("牛头怪");
        Enemy e6 = new Monster("蛇头精");
        Enemy e7 = new Boss("暗影主宰");
        player.fight(e1);
        player.fight(e2);
        player.fight(e3);
        player.fight(e4);
        player.fight(e5);
        player.fight(e6);
        player.fight(e7);
        player.show();
        e7.show();
    }
}
